package com.kaduoxee.ebooks.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;

@Data
@TableName("chapter")
public class Chapter implements Serializable {

    private static final long serialVersionUID = 119136556301653959L;
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    private Integer fictionId;
    private String chapterTitle;
    private Integer contentId;
    private Timestamp createDate;
    private Integer sort;
    private String chapterUrl;

}
